
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>基础知识 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="package.html" />
    
    
    <link rel="prev" href="../" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    基本介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="basic.html">
            
                <a href="basic.html">
            
                    
                    基础知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="package.html">
            
                <a href="package.html">
            
                    
                    包的概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="decorator/decorator.html">
            
                <a href="decorator/decorator.html">
            
                    
                    装饰器
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="decorator/function.html">
            
                <a href="decorator/function.html">
            
                    
                    函数装饰器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="decorator/class.md">
            
                <span>
            
                    
                    类装饰器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="class/inner_class.html">
            
                <a href="class/inner_class.html">
            
                    
                    内部类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="class/super.html">
            
                <a href="class/super.html">
            
                    
                    super函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="class/multiple_inheritance.html">
            
                <a href="class/multiple_inheritance.html">
            
                    
                    类的多继承
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="class/overwrite.html">
            
                <a href="class/overwrite.html">
            
                    
                    类方法的重写
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="class/multiple inheritance.md">
            
                <span>
            
                    
                    多态
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="exception.html">
            
                <a href="exception.html">
            
                    
                    详细了解异常的处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="thread/treading.html">
            
                <a href="thread/treading.html">
            
                    
                    多线程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="thread/lock.html">
            
                <a href="thread/lock.html">
            
                    
                    线程锁
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="datetime/time.html">
            
                <a href="datetime/time.html">
            
                    
                    time模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="datetime/timetuple.html">
            
                <a href="datetime/timetuple.html">
            
                    
                    时间元组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="datetime/calendar.html">
            
                <a href="datetime/calendar.html">
            
                    
                    calendar模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="datetime/datetime.html">
            
                <a href="datetime/datetime.html">
            
                    
                    datetime模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="django/api.html">
            
                <a href="django/api.html">
            
                    
                    接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="django/front_end_and_back_end.html">
            
                <a href="django/front_end_and_back_end.html">
            
                    
                    Django前后端分离
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19" data-path="django/template.html">
            
                <a href="django/template.html">
            
                    
                    Django模板语言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20" data-path="django/uwsgi.html">
            
                <a href="django/uwsgi.html">
            
                    
                    uwsgi部署Django
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21" data-path="django/gunicorn.html">
            
                <a href="django/gunicorn.html">
            
                    
                    gunicorn部署Django
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22" data-path="django/nginx.html">
            
                <a href="django/nginx.html">
            
                    
                    Nginx的使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.23" data-path="others/recursion.html">
            
                <a href="others/recursion.html">
            
                    
                    递归
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24" data-path="others/hash.html">
            
                <a href="others/hash.html">
            
                    
                    哈希
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.25" data-path="others/bit_operation.html">
            
                <a href="others/bit_operation.html">
            
                    
                    位运算
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >基础知识</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x57FA;&#x7840;&#x77E5;&#x8BC6;">&#x57FA;&#x7840;&#x77E5;&#x8BC6;</h1>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../" class="navigation navigation-prev " aria-label="Previous page: 基本介绍">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="package.html" class="navigation navigation-next " aria-label="Next page: 包的概念">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"基础知识","level":"1.2","depth":1,"next":{"title":"包的概念","level":"1.3","depth":1,"path":"mds/package.md","ref":"mds/package.md","articles":[]},"previous":{"title":"基本介绍","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"mds/basic.md","mtime":"2019-02-18T01:43:02.828Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-25T03:21:04.918Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

